#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QLineEdit>
#include <QPushButton>
#include <QComboBox>
#include <QLabel>
#include <QApplication>
#include <QDebug>
#include<string>
using namespace std;
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    QLineEdit *leftendit,*ringhtendit;
    QPushButton * BtnRes;
    QComboBox * cbx;
    QLabel * Labelresult,* LabelMeassage;
    void init();
private slots:
    void doRes();

};
#endif // MAINWINDOW_H
